﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Magicodes.WeChat.Application.Authorization.Dto
{
    public class GetUserInfoInput
    {
        /// <summary>
        /// 公众号的租户Id,为空则默认获取当前租户的配置信息
        /// </summary>
        public long? Key { get; set; }

        /// <summary>
        /// 网页授权接口调用凭证,注意：此access_token与基础支持的access_token不同
        /// </summary>
        public string OauthAccessToken { get; set; }

        /// <summary>
        /// 用户的唯一标识
        /// </summary>
        public string OpenId { get; set; }

        /// <summary>
        /// 返回国家地区语言版本，zh_CN 简体，zh_TW 繁体，en 英语
        /// 默认中文简体
        /// </summary>
        public string Lang { get; set; }
    }
}
